package com.xqb.modules.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xqb.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 2092466583
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LastLearnVo {
    /** 课程id */
    private Long courseId;
    private String courseName;
    /** 最近一次学习的小节id */
    @Excel(name = "最近一次学习的小节id")
    private Long latestSectionId;
    private String latestSectionName;
    /** 最近一次学习的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date latestLearnTime;
}
